📊 R Performance Analysis Dashboard

Real-time operational performance monitoring and analysis

This interactive report analyzes system performance metrics including response times, throughput, error rates, and resource utilization.

Executive Summary

<div class="metric-value">181ms</div>
<div class="metric-label">Avg Response Time</div>
<div class="metric-value">451</div>
<div class="metric-label">Avg Throughput (ops/sec)</div>
<div class="metric-value">3.89%</div>
<div class="metric-label">Avg Error Rate</div>
<div class="metric-value">63.7%</div>
<div class="metric-label">Avg CPU Usage</div>
<div class="metric-value">100</div>
<div class="metric-label">Anomalies Detected (10.0%)</div>

Resource Utilization

CPU and Memory Usage


Hourly Performance Patterns

Key Findings:

  • Best Performance Hour: 7:00 (lowest response time: 85.3 ms)
  • Worst Performance Hour: 20:00 (highest response time: 354.1 ms)
  • Peak Error Hour: 2:00 (error rate: 5.99%)

Anomaly Detection

Top 20 Anomalous Operations


Statistical Summary

Comprehensive Performance Statistics
Metric Mean Median SD Min Max
Response Time (ms) 180.97 97.91 416.76 8.05 9366.08
Throughput (ops/sec) 450.56 450.00 20.92 387.00 516.00
Error Rate (%) 3.89 1.58 6.56 0.00 34.35
CPU Usage (%) 63.73 64.56 15.70 12.35 98.48
Memory (MB) 2059.74 2081.99 529.71 358.84 3987.53
Concurrent Users 75.28 75.00 8.90 48.00 103.00

Correlation Analysis

Key Correlations:

  • response_time_ms vs error_rate: 0.438
  • cpu_usage vs concurrent_users: -0.082
  • response_time_ms vs memory_usage_mb: -0.069
  • throughput_ops vs error_rate: 0.067
  • memory_usage_mb vs concurrent_users: 0.034

Recommendations

🎯 Performance Optimization Opportunities

  1. Response Time: Average response time is 181ms.
    • Investigate operations exceeding 482.4ms (95th percentile)
    • Consider caching strategies for frequently accessed operations
  2. Error Rate: Current error rate of 3.89%.
    • ⚠️ ERROR RATE ABOVE 2% - IMMEDIATE ACTION REQUIRED
    • Review error patterns during peak hours
  3. Resource Utilization:
    • CPU usage averaging 63.7%
    • Memory usage averaging 2060MB
    • ✅ CPU utilization healthy
  4. Anomalies: 100 anomalous operations detected (10.0%)
    • Investigate root causes of performance degradation
    • Implement alerting for similar patterns

About This Report

Report Details:

  • Generated: 2026-01-08 17:23:57.816312
  • Analysis Period: 2024-01-01 to 2024-02-11
  • Total Operations: 1,000
  • Anomalies Detected: 100 (10.0%)
  • Author: Kamil Nazaruk
  • GitHub: r-performance-analysis
  • Portfolio: kamilnaz.github.io

This report was generated using R Markdown with interactive Plotly visualizations. The analysis uses sample data for demonstration purposes. For production use, replace the sample data generation with your actual performance metrics.

## 
## ### R Session Information
## R version 4.3.0 (2023-04-21)
## Platform: x86_64-pc-linux-gnu (64-bit)
## Running under: Ubuntu 24.04.3 LTS
## 
## Matrix products: default
## BLAS:   /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3 
## LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.26.so;  LAPACK version 3.12.0
## 
## locale:
##  [1] LC_CTYPE=C.UTF-8       LC_NUMERIC=C           LC_TIME=C.UTF-8       
##  [4] LC_COLLATE=C.UTF-8     LC_MONETARY=C.UTF-8    LC_MESSAGES=C.UTF-8   
##  [7] LC_PAPER=C.UTF-8       LC_NAME=C              LC_ADDRESS=C          
## [10] LC_TELEPHONE=C         LC_MEASUREMENT=C.UTF-8 LC_IDENTIFICATION=C   
## 
## time zone: UTC
## tzcode source: system (glibc)
## 
## attached base packages:
## [1] stats     graphics  grDevices utils     datasets  methods   base     
## 
## other attached packages:
## [1] scales_1.4.0  knitr_1.51    DT_0.34.0     plotly_4.11.0 dplyr_1.1.4  
## [6] ggplot2_4.0.1
## 
## loaded via a namespace (and not attached):
##  [1] gtable_0.3.6       jsonlite_2.0.0     compiler_4.3.0     tidyselect_1.2.1  
##  [5] jquerylib_0.1.4    tidyr_1.3.2        yaml_2.3.12        fastmap_1.2.0     
##  [9] R6_2.6.1           generics_0.1.4     htmlwidgets_1.6.4  tibble_3.3.0      
## [13] bslib_0.9.0        pillar_1.11.1      RColorBrewer_1.1-3 rlang_1.1.6       
## [17] cachem_1.1.0       xfun_0.55          sass_0.4.10        S7_0.2.1          
## [21] lazyeval_0.2.2     otel_0.2.0         viridisLite_0.4.2  cli_3.6.5         
## [25] withr_3.0.2        magrittr_2.0.4     crosstalk_1.2.2    digest_0.6.39     
## [29] grid_4.3.0         lifecycle_1.0.5    vctrs_0.6.5        evaluate_1.0.5    
## [33] glue_1.8.0         data.table_1.18.0  farver_2.1.2       rmarkdown_2.30    
## [37] purrr_1.2.0        httr_1.4.7         tools_4.3.0        pkgconfig_2.0.3   
## [41] htmltools_0.5.9